package com.jy.oms.framework.asyn.task.executor.bo;

import java.util.concurrent.ThreadPoolExecutor;

/**
 * bo
 *
 * @author liuquan
 */
public class TaskThreadControllerBo {

    private ThreadPoolExecutor threadPoolExecutor;

    private Long lastCheckAvailableTime;

    public TaskThreadControllerBo(ThreadPoolExecutor threadPoolExecutor) {
        this.threadPoolExecutor = threadPoolExecutor;
    }

    public ThreadPoolExecutor getThreadPoolExecutor() {
        return threadPoolExecutor;
    }

    public void setThreadPoolExecutor(ThreadPoolExecutor threadPoolExecutor) {
        this.threadPoolExecutor = threadPoolExecutor;
    }

    public Long getLastCheckAvailableTime() {
        return lastCheckAvailableTime;
    }

    public void setLastCheckAvailableTime(Long lastCheckAvailableTime) {
        this.lastCheckAvailableTime = lastCheckAvailableTime;
    }
}
